/**
 * Copyright &copy; 2016-2017 <a href="http://git.oschina.net/whoamien/backend_management">Backend Management</a> All rights reserved.
 */
package com.xw.app.generator.model;

import javax.persistence.Entity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import com.xw.framework.base.dao.BaseUpdatableEntity;

/**
 * The Class SystemConfig.
 *
 * @author Xi Wei
 */
@Entity(name="system_config")
@DynamicUpdate(value=true)
@DynamicInsert(value=true)
public class SystemConfig extends BaseUpdatableEntity {

	private String systemLogo;
	private String companyName;
	private String systemCode;
	private String systemName;
	private String systemDesc;
	private String systemAdminName;
	private boolean active;
	
	
	/**
	 * Gets the system logo.
	 *
	 * @return the system logo
	 */
	public String getSystemLogo() {
		return systemLogo;
	}
	
	/**
	 * Sets the system logo.
	 *
	 * @param systemLogo the new system logo
	 */
	public void setSystemLogo(String systemLogo) {
		this.systemLogo = systemLogo;
	}
	
	/**
	 * Gets the company name.
	 *
	 * @return the company name
	 */
	public String getCompanyName() {
		return companyName;
	}
	
	/**
	 * Sets the company name.
	 *
	 * @param companyName the new company name
	 */
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	
	/**
	 * Gets the system code.
	 *
	 * @return the system code
	 */
	public String getSystemCode() {
		return systemCode;
	}
	
	/**
	 * Sets the system code.
	 *
	 * @param systemCode the new system code
	 */
	public void setSystemCode(String systemCode) {
		this.systemCode = systemCode;
	}
	
	/**
	 * Gets the system name.
	 *
	 * @return the system name
	 */
	public String getSystemName() {
		return systemName;
	}
	
	/**
	 * Sets the system name.
	 *
	 * @param systemName the new system name
	 */
	public void setSystemName(String systemName) {
		this.systemName = systemName;
	}
	
	/**
	 * Gets the system desc.
	 *
	 * @return the system desc
	 */
	public String getSystemDesc() {
		return systemDesc;
	}
	
	/**
	 * Sets the system desc.
	 *
	 * @param systemDesc the new system desc
	 */
	public void setSystemDesc(String systemDesc) {
		this.systemDesc = systemDesc;
	}
	
	/**
	 * Gets the system admin name.
	 *
	 * @return the system admin name
	 */
	public String getSystemAdminName() {
		return systemAdminName;
	}
	
	/**
	 * Sets the system admin name.
	 *
	 * @param systemAdminName the new system admin name
	 */
	public void setSystemAdminName(String systemAdminName) {
		this.systemAdminName = systemAdminName;
	}
	
	/**
	 * Checks if is active.
	 *
	 * @return true, if is active
	 */
	public boolean isActive() {
		return active;
	}
	
	/**
	 * Sets the active.
	 *
	 * @param active the new active
	 */
	public void setActive(boolean active) {
		this.active = active;
	}
	
	
	
}
